package com.ruoyi.broadcast.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; //添加
import com.ruoyi.broadcast.domain.Gbss;

/**
 * 广播实时Mapper接口
 * 
 * @author hcc
 * @date 2024-12-01
 */
public interface GbssMapper extends BaseMapper<Gbss> //修改
{
    /**
     * 查询广播实时
     * 
     * @param broadcastRealId 广播实时主键
     * @return 广播实时
     */
    public Gbss selectGbssByBroadcastRealId(String broadcastRealId);

    /**
     * 查询广播实时列表
     * 
     * @param gbss 广播实时
     * @return 广播实时集合
     */
    public List<Gbss> selectGbssList(Gbss gbss);

    /**
     * 新增广播实时
     * 
     * @param gbss 广播实时
     * @return 结果
     */
    public int insertGbss(Gbss gbss);

    /**
     * 修改广播实时
     * 
     * @param gbss 广播实时
     * @return 结果
     */
    public int updateGbss(Gbss gbss);

    /**
     * 删除广播实时
     * 
     * @param broadcastRealId 广播实时主键
     * @return 结果
     */
    public int deleteGbssByBroadcastRealId(String broadcastRealId);

    /**
     * 批量删除广播实时
     * 
     * @param broadcastRealIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGbssByBroadcastRealIds(String[] broadcastRealIds);

    Gbss selectGbssByBroadcastRealByStationCode(String stationCode);

}
